﻿@model PipelineViewModel
@section ArtifactTitle {<span style="font-weight:normal;">Pipeline:</span> @Model.Pipeline.Name}
@{
    ViewBag.Title = "Pipeline";
    ViewBag.CurrentMenuItem = Model.CurrentApplication.Name;
    this.AddToViewBag(Model);
}
@if (!string.IsNullOrEmpty(Model.Pipeline.Description))
{
    <p class="description">@Model.Pipeline.Description</p>
}
<table cellpadding="0" cellspacing="0">
    <tr>
        <td>
            Application
        </td>
        <td>
            <a href="@Model.Pipeline.Application.Path(Model.CurrentManifest)">@Model.Pipeline.Application.Name</a>
        </td>
    </tr>
     <tr>
        <td>
            Pipeline type
        </td>
        <td>
            @Model.Pipeline.Type
        </td>
    </tr>
    <tr>
        <td>
            Parent Assembly
        </td>
        <td>
            <a href="@Model.Pipeline.ParentAssembly.Path(Model.CurrentManifest)">@Model.Pipeline.ParentAssembly.Name</a>
        </td>
    </tr>
</table>

@section ManifestList {
    @Html.Partial("_ManifestListControl", new ManifestListModel() { Manifests = Model.Manifests, CurrentManifest = Model.CurrentManifest, Artefact = Model.Pipeline })
}
